const pretest = 'http://127.0.0.1:7001'
const userAPI = `${pretest}/user`
const subjectOne = `${pretest}/subjectOne`
const subjectOneManage = `${pretest}/subjectOneManage`
const userManage = `${pretest}/userManage`
const userCenter = `${pretest}/userCenter`
const scoreManage = `${pretest}/scoreManage`
const api = {
    userLogin: `${userAPI}/userLogin`,


    //科目一小车
    getSubjectOneCarById: `${subjectOne}/getSubjectOneCarById`,
    //科目一模拟考试
    subjectOneExam: `${subjectOne}/subjectOneExam`,
    //科目一模拟考试结果提交
    examResSubmit: `${subjectOne}/examResSubmit`,

    //科目一试题CRUD
    saveSubjectOneQuestion: `${subjectOneManage}/saveSubjectOneQuestion`,
    deleteSubjectOneQuestion: `${subjectOneManage}/deleteSubjectOneQuestion`,
    updateSubjectOneQuestion: `${subjectOneManage}/updateSubjectOneQuestion`,
    queryAllSubjectOneQuestion: `${subjectOneManage}/queryAllSubjectOneQuestion`,
    querySubjectOneQuestionByCondition: `${subjectOneManage}/querySubjectOneQuestionByCondition`,

    //用户管理接口

    queryUserInfo: `${userManage}/queryUserInfo`,
    queryUserInfoByCondition: `${userManage}/queryUserInfoByCondition`,
    updateUserInfoById: `${userManage}/updateUserInfoById`,
    deleteUserInfoById: `${userManage}/deleteUserInfoById`,
    queryAllCoach: `${userManage}/queryAllCoach`,
    saveUserInfo: `${userManage}/saveUserInfo`,
    //个人中心接口
    querySelfScore:`${userCenter}/querySelfScore`,
    deleteScore:`${userCenter}/deleteScore`,
    querySelfScoreByCondition:`${userCenter}/querySelfScoreByCondition`,
    //成绩管理
    queryScoreInfo:`${scoreManage}/queryScoreInfo`,
    deleteScoreById:`${scoreManage}/deleteScoreById`,
    queryScoreByCondition:`${scoreManage}/queryScoreByCondition`,




    //用户登录
    userLogin: `${userAPI}/userLogin`,
    userInfoUpdate: `${userAPI}/userInfoUpdate`,

}

export default api;
